package cn.com.unionlife.hy.system.service;

import java.util.List;

import cn.com.unionlife.hy.core.exception.BusinessException;
import cn.com.unionlife.hy.system.vo.OrgVO;

public interface OrgQryService {
 
	
  
	
	public List<OrgVO> getUserAuthorizedOrg(String userId , boolean tree) throws BusinessException;
	/**
	 * 获取用户有权限的组织
	 * @param userId
	 * @param tree 是否构造成完整树结构
	 * @return
	 * @throws BusinessException
	 */
	public List<OrgVO> getUserAuthorizedOrg(String userId , String name , boolean admin, boolean tree) throws BusinessException;
	
}
 